package com.memoryangelapplication.services;



import java.util.Calendar;

import com.memoryangelapplication.AlertMessageActivity;

import android.app.AlarmManager;
import android.app.PendingIntent;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.content.WakefulBroadcastReceiver;

public class EventAlarmMissed extends WakefulBroadcastReceiver {
	Context context;
	
	public EventAlarmMissed(Context context) {
		
		this.context = context;
		
		
	}
	@Override
	public void onReceive(Context context, Intent intent) {

		/*Intent i = new Intent(context, AlertMessageActivity.class);
		i.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
		context.startActivity(i);*/
		
		Bundle bundle = new Bundle();
		EventAlarm alarm1 = new EventAlarm(context, bundle, 10);
		
		/*this.context = context;
		callAlert();*/
		
		
		
	}

	/*private void callAlert() {
		// TODO Auto-generated method stub
		Bundle bundle = new Bundle();
		EventAlarm alarm1 = new EventAlarm(context, bundle, 1);
	}*/
	
	
}